Home

Getting Started

*Defaults

  All Gadget have a default setting. Setting default colors,sizes and positions for gadget Can save time when creating new gadgets. For example, A if the defaut color for a CameraView is set to blue all CameraViews will be set with the color blue when created. Defaults are not part of the api language because it is much quicker to edit each type indevidually. The #include. File named "Default can be edited manually."

  GetCameraViewBgImage(ID)   Returns Background ID or -1.

  GetCameraViewHeight(ID)   Returns Height.

  GetCameraViewWidth(ID)   Returns Width.

  SetCameraViewBgColor(ID,Color)   `Accepts color from makecolor(),Sets Background color of sprite, Accepts Alpha value.

  SetCameraViewBGImage(ID,ImageID)   `Accepts Integer, Sets Background image.

  SetCameraViewBorderWidth(ID,Width)   `Accepts Integer, Sets Border Width.

  SetCameraViewDragAndDrop(ID,Bool)   ` Accepts Integer 1-0, 1 enalbes CameraView to be dropped onto other gadgets, 0 false.

  SetCameraViewHoverState(ID)   Returns 1 if CameraView is being hovered, else 0.

  SetCameraViewVisible(ID,Boolean)   `Sets CameraView visible or hidden 1 visible, 0 hidden.

  GetCameraViewText(ID)   Returns Text String or -1

  SetCameraViewDepth(ID,Depth)   Accepts Integer, Forces CameraView to add or subtract depth to its depth sorting.

  SetCameraViewHeight(ID,Height)   `Accepts integer sets the height.

  SetCameraViewWidth(ID,Width)   Accepts integer sets the width.

  SetCameraViewSize(ID,Width,Height)   Accepts integer sets the width and height.

  SetCameraViewPaddingWidth(ID,Width)   `Accepts Integer, Sets Padding Width.

  SetCameraViewPaddingColor(ID,Color)   `Accepts color from makecolor(),Sets Padding color of sprite, Accepts Alpha value.

  SetCameraViewBorderColor(ID,Color)   `Accepts color from makecolor(),Sets Border color of sprite, Accepts Alpha value.

  SetCameraViewColor(ID,Integer)   `Accepts color from makecolor(), Sets entire sprite to specified color.

  SetCameraViewAlpha(ID,AlphaValue)   `Accepts integer 0-255, Sets entire Sprite to the specified alpha value

  SetCameraViewEditMode(ID,Bool)   `Accepts Integer 1-0, overides settings enables all api features,"CameraView action will be disabled while in edit mode"

  SetCameraViewToolTip(ID,String)   Accepts String, Sets CameraView to generate and destroy a tooltip preview on hover. Hover Must be enabled see SetCameraViewActivateHover(ID,Bool)

  SetCameraViewDrag(ID,Bool)   `Accepts integer 0-1,Enables Dragging

  SetCameraViewResize(ID,Bool)   `Accepts integer 0-1,Enables Resizing

 SetCameraViewActivateMode(ID,Bool)   `Accepts integer 0-1, (1) Enables Hover to activate, "0" Default Behavior

  SetCameraViewHighlight(ID,Bool)   `Accepts Integer 1-0, Enables Highlighting